/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", sans-serif;
}

/* 导航栏 hover 效果 */
nav ul li a:hover {
    color: #007bff;
}

/* 原有任务栏样式（保留你熟悉的结构） */
.old-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    width: 60px;
    height: 60px;
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-menu li a:hover {
    color: #4285f4;
}
.search-box {
    display: flex;
    align-items: center;
}
.search-box input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}
.search-box button {
    padding: 6px 15px;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    background-color: #f8f9fa;
}

/* 引导核心区（首页） */
.hero-section {
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    padding: 40px 20px;
}
.hero-content h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
}
.primary-btn {
    background-color: #4285f4;
    color: #fff;
}
.primary-btn:hover {
    background-color: #357ae8;
    transform: translateY(-2px);
}
.login-link {
    margin-top: 20px;
    color: #666;
}
.login-link a {
    color: #4285f4;
    text-decoration: none;
}

/* 表单区域（注册/登录） */
.form-section {
    max-width: 500px;
    margin: 60px auto;
    padding: 0 20px;
}
.form-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.form-card h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.form-group input:focus {
    border-color: #4285f4;
    outline: none;
}
.link-to-login,
.link-to-register {
    text-align: center;
    margin-top: 20px;
    color: #666;
}
.link-to-login a,
.link-to-register a {
    color: #4285f4;
    text-decoration: none;
}

/* 页脚 */
.site-footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    margin-top: auto;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}
.site-footer p {
    color: #999;
    font-size: 14px;
}